//
//  DHAlert.h
//  NavigationDemo
//
//  Created by 商广硕 on 2022/7/17.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

// 取消点击事件
typedef void(^CancleBlock) ();
// 继续点击事件
typedef void(^ContinueBlock)();

@interface DHAlert : UIView

@property (copy,nonatomic) CancleBlock cancleBlock;
@property (copy,nonatomic) ContinueBlock continueBlock;

+(instancetype)showAlert :(NSString *)text  Cancle:(CancleBlock)cancle ;

@end

NS_ASSUME_NONNULL_END
